import request from '@/utils/request'

// 灯条全开
export function lineledon(data) {
  return request({
    url: '/lineledon',
    method: 'post',
    data
  })
}

export function lineledoff(data) {
  return request({
    url: '/lineledoff',
    method: 'post',
    data
  })
}

export function ledopen(data) {
  return request({
    url: '/ledopen',
    method: 'post',
    data
  })
}

export function ledoff(data) {
  return request({
    url: '/ledoff',
    method: 'post',
    data
  })
}

export function resetled() {
  return request({
    url: '/resetled',
    method: 'post'
  })
}

export function workinglight(data) {
  return request({
    url: '/workinglight',
    method: 'post',
    data
  })
}

export function workingoff(data) {
  return request({
    url: '/workingoff',
    method: 'post',
    data
  })
}

export function positionlist() {
  return request({
    url: '/positionlist',
    method: 'get'
  })
}
